using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace buoi2
{
    public partial class Danhmuc : Form
    {
        public Danhmuc()
        {
            InitializeComponent();
        }

        private void Danhmuc_Load(object sender, EventArgs e)
        {
            Accessdata con = new Accessdata();
            int i2;
            int c;
            con.open();
            DataTable tb = con.get_datatable("select * from Danhmuc");
            this.dataGridView1.DataSource = tb;
            con.close();
        }
    }
}